{php  $navAll=1;}
{template 'header'}
 
<div id="topshow" class="full">
<!--首页广告-->
    <div class="wrap">
        <div class="left fl"> </div>
        <div class="center fl">
            <div id="iSlider" class="focus">
                <div class="bd">
                    {ad(1)}
                </div>
                <div class="hd">
                    <ul class="clearfix">
                        <li></li>
                    </ul>
                </div>
            </div>

<!--首页企业-->
            <div class="new-company">
                <div class="header">
                    <span class="fr">累计入驻<b class="red">{php echo $db->count($DT_PRE.'company', '1', 1800);}</b>家企业</span>
                    <dl class="fl">
                        <dt class="orange fl">最新入驻：</dt>
                        <dd class="fl">
                        <!--{tag("moduleid=$moduleid&groupid>5&areaid=$cityid&pagesize=".$MOD[page_inew]."&order=userid desc&template=list-com")}-->
                       
						</dd>
                  </dl>
                </div>
                <div class="content">
                <ul class="clearfix">
                       <!--{tag("moduleid=13&condition=status=3&level=1&pagesize=4&order=addtime desc&width=166&height=80&target=_blank&template=thumb-brand")}-->
                </ul>
                </div>
            </div>
        </div>


<!--登录-->
        <div class="right fr">
            <div class="operation f-14">
            <a href="{DT_PATH}member/login.php" rel="nofollow" class="login-btn fl" title="登录"><i></i>登录</a>
            <a href="{DT_PATH}member/register.php" rel="nofollow" class="regist-btn fl" title="注册"><i></i>免费注册</a>
            </div>
<!--最新诚信会员-->
        <dl class="pro-newss">
            <dt>最新诚信会员</dt>
            <!--{php $tags=tag("moduleid=$moduleid&condition=vip>0 and catids<>''&areaid=$cityid&pagesize=".$MOD[page_ivip]."&order=fromtime desc&template=null")}-->
            {loop $tags $t}
            <dd><a href="{$t[linkurl]}" target="_blank">{$t[company]}</a></dd>
            {/loop}
           
        </dl>


<!--按地区查找-->
            <dl class="areaa">
                <dt class="f14">按地区查找</dt>
               {php $mainarea = get_mainarea(0)}
                {loop $mainarea $k $v}
              		{if $k<24}
               <dd><a href="{$MOD[linkurl]}search.php?areaid={$v[areaid]}"{if $k==7}class="red"{/if}rel="nofollow">{dsubstr($v[areaname], 4, '')}</a></dd>
                	{/if} 
                {/loop}
            </dl>
        </div>
    </div>
</div>
<!--广告-->
<div class="full mt-15">
    <div class="wrap">
   {ad(7)}
    </div>
</div>


	
	{php $mid=4}
	{php $child = get_maincat(0, 4, 1);}
{loop $child $i $c}
 
{if in_array($c[catid], array(2351,2469,2492,2352,2353,2354,2480,2491,2465))}
<?php $catid=$c[catid];?>

<div class="layout">
    <div class="wrap">
    
        <div class="leftbar fl">
            <div class="header">
            <span class="fr">推荐分类：
			{php $sub = get_maincat($c[catid], $mid, 1);}
			{loop $sub $j $s}
            {if $j<6}
            <a href="{$MODULE[$mid][linkurl]}{$s[linkurl]}" class="g">{set_style($s[catname], $s[style])}</a>|
            {/if}
			{/loop}
 			</span>
             <h3 class="f14"><em><b>{$i+1}F</b></em>&nbsp; {$c[catname]}</h3>
            </div>
            <dl class="comad fl">
               <!--{php $tags=tag("moduleid=4&catid=".$c[catid]."&condition=vip>0 and catids<>'' and level=1&areaid=$cityid&pagesize=1&order=fromtime desc&template=null")}-->
             {loop $tags $k $t}
                <dt><a class="a-img" href="{$t[linkurl]}" target="_blank"><img src="{DT_SKIN}caiimg/sell_{$i+1}.jpg" width="226" height="131"></a></dt>
                <dd>
                    <h5><a href="{$t[linkurl]}" target="_blank">{dsubstr($t[company], 22, '...')}</a></h5>
                    <p class="">主营项目：{dsubstr($t[business], 44, '...')}</p>
                    <p class="explain"> <a target="_blank" href="{$t[linkurl]}">进入店铺</a>  <a target="_blank" href="{$t[linkurl]}">联系方式</a> </p>
                </dd>
                {/loop}
            </dl>
            <div class="comshow fl">
                 <h4 class="f14">优选企业</h4>
                <ul class="clearfix cldl">
                	<!--{php $tags=tag("moduleid=$moduleid&catid=".$c[catid]."&condition=groupid>5  and level=1  and catids<>''&areaid=$cityid&pagesize=4&order=userid desc&template=null")}-->
                 
                  {loop $tags $t}
                     <li>
                        <dl>
                            <dt><a href="{$t[linkurl]}" target="_blank">
                            <img src="{imgurl($t[thumb])}" width="80" height="80" alt=""/></a>
                            </dt>
                            <dd> <strong class="te"><a href="{$t[linkurl]}" target="_blank">
                            <strong class="px14">{$t[company]}</strong></a></strong> <span class="te"> 主营项目：{dsubstr($t[business], 80, '...')} </span> 
                            <span class="te"> 公司地址：{$t[address]}</span> </dd>
                        </dl>
                    </li>
                    {/loop}
                        
                    </ul>
            </div>
        </div>
        <div class="rightbar fr">
            <div class="header"><a class="more" target="_blank" href="{$MODULE[$mid][linkurl]}{$c[linkurl]}">更多&gt;&gt;</a>
                <h3 class="f14">最新加入企业</h3>
            </div>    <!--{tag("moduleid=$moduleid&catid=".$c[catid]."&areaid=$cityid&pagesize=".$MOD[page_inew]."&order=userid desc&template=list-com")}-->  
				 
        </div>
    </div>
</div>
{/if}
{/loop}

 
<!--友情链接-->
<div class="ibox full">
    <div class="wrap">
        <div class="header">
            <h3>友情链接</h3>
        </div>
        <div class="friendlink">
       <ul class="clearfix lianjie">
</ul>
<ul class="clearfix lianjie">
<li ><a href="http://www.cainiaoboon.com/company/" target="_blank" title="">中国供应商网</a></li>
<li ><a href="http://www.cainiaoboon.com/company/" target="_blank" title="">企业网</a></li>
<li ><a href="http://www.cainiaoboon.com/company/" target="_blank" title="">公司加盟</a></li>
</ul>
        </div>
    </div>
</div>
{template 'footer'}